/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.command;

/**
 *
 * @author xiay
 * @since 2020/12/15 9:05 下午
 */
public class CommandImpl implements Command {

    private Receiver receiver;

    public CommandImpl(Receiver receiver) {
        this.receiver = receiver;
    }

    @Override
    public void execute() {
        receiver.action();
    }
}
